package school.xauat.offershow.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * @author ：zsy
 * @date ：Created 2021/12/15 23:46
 * @description：留言类
 */
@Data
@ApiModel("留言类")
@Setter
@Getter
@TableName("t_comment")
public class Comment {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("条目id")
    private Integer entryId;

    @ApiModelProperty("排序id")
    private Integer sortId;

    @ApiModelProperty("留言")
    private String content;

    @ApiModelProperty("留言日期")
    private String time;

}
